19
Maxim Integrated
MAX19792
500MHz to 4000MHz Dual Analog Voltage Variable
Attenuator with On-Chip 10-Bit SPI-Controlled DAC
Table 4. Attenuator-Mode Control Logic State
Table 5. Step-Mode Logic State (MODE = 1)
*Continued UP or DWN stepping results in saturation (no code wrapping).
Table 6. REF_SEL Logic State
SPI Interface Programming
Figure 2. SPI Timing Diagram
Figure 3. UP/DWN Control Diagram (MODE = 1)
MODE PIN
ATTENUATOR
0
SPI-mode control (the DAC code is located in register 0).
1
Step-mode control using the UP and DWN pins (the step-up code is located in register 1 and the step-down
code is located in register 2).
UP
DWN
ATTENUATOR
Logic 0
Logic 0
Reset the DAC for the minimum attenuation state (DAC code = 0000000000).
Logic 0 pulse
Logic 1
Increase the DAC code* by the amount located in register 1.
UP is pulsed from high to low to high (see Figure 3).
Logic 1
Logic 0 pulse
Decrease the DAC code* by amount located in register 2.
DWN is pulsed from high to low to high (see Figure 3).
REF_SEL
DAC REFERENCE
0
Uses an on-chip DAC reference.
1
User provides off-chip DAC reference voltage on REF_IN pin.
R/W A1 A0
D[9:0] TO REGISTER 0, 1, 2, 3
CS
CLK
DIN
D[9:0] FROM REGISTER 0, 1, 2, 3
DOUT
t
CS
HIGH-
IMPEDANCE
HIGH-
IMPEDANCE
t
CW
t
ES
t
EW
t
CH
t
EWS
UP
1
1
0
0
DWN
NO DAC
CODE CHANGE
DAC CODE
INCREASED
BY UP STEP
DAC CODE
DECREASED
BY DWN STEP
DAC CODE
RESET TO
ALL 0's